﻿<frm:Form  x:Class="VAdvantage.Framework.VSetup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           xmlns:my="clr-namespace:SLControls.Controls;assembly=SLControls"
           xmlns:frm="clr-namespace:SilverlightDesktop.Controls;assembly=SilverlightDesktop" 
         Height="360" Width="500" Icon="/VAdvantage;component/Images/VIcon.png" ResizeMode="CanMinimize" HorizontalAlignment="Center" VerticalAlignment="Center"
           Title="ClientSetup" >


    <Grid x:Name="LayoutRoot" Background="White" Width="Auto" Height="Auto">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
             <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="16*" />
            <!--<RowDefinition Height="280*" />-->
        </Grid.RowDefinitions>
        <Grid Grid.Column="2" Grid.Row="8" Margin="5,5,0,0" Height="Auto" Background="Transparent"  HorizontalAlignment="Stretch" Name="grid1" VerticalAlignment="Stretch" Width="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <my:VCheckBox  Content="vCheckBox1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,2,0,0" Name="fSRegion" VerticalAlignment="Stretch" Grid.Column="1" />
            <my:VCheckBox Content="vCheckBox1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,2,0,0" Name="fProduct" VerticalAlignment="Stretch" Grid.Column="2" />
            <my:VCheckBox Content="vCheckBox1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,21,0,0" Name="fMCampaign" VerticalAlignment="Stretch" Grid.RowSpan="2" />
            <my:VCheckBox Content="vCheckBox1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,21,0,0" Name="fBPartner" VerticalAlignment="Stretch" Grid.Column="1" Grid.RowSpan="2" />
            <my:VCheckBox Content="vCheckBox1" Height="Auto" HorizontalAlignment="Stretch" Name="fProject" VerticalAlignment="Stretch" Width="Auto" />
        </Grid>
        <my:VLabel Grid.Column="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,10,5,0" Name="lClientName" VerticalAlignment="Stretch" Width="Auto" Content="lClientName" UseLayoutRounding="True" />
        <my:VLabel Grid.Column="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lOrgName" VerticalAlignment="Stretch" Width="Auto" Grid.Row="1" Content="lOrgName" />
        <my:VLabel Grid.Column="1"  Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lUserClient" VerticalAlignment="Stretch" Width="Auto" Grid.Row="2" Content="lUserClient" />
        <my:VLabel Grid.Column="1"  Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lUserOrg" VerticalAlignment="Stretch" Width="Auto" Grid.Row="3" Content="lUserOrg" />
        <my:VLabel Grid.Column="1"  Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lCurrency" VerticalAlignment="Stretch" Width="Auto" Grid.Row="4" Content="lCurrency" />
        <my:VLabel Grid.Column="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lCountry" VerticalAlignment="Stretch" Width="Auto" Grid.Row="5" Content="lCountry" />
        <my:VLabel Grid.Column="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lCity" VerticalAlignment="Stretch" Width="Auto" Grid.Row="6" Content="lCity" />
        <my:VLabel Grid.Column="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lRegion" VerticalAlignment="Top" Width="Auto" Grid.Row="7" Content="lRegion" />
        <my:VLabel Grid.Column="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="lAccountSeg" VerticalAlignment="Stretch" Width="Auto" Grid.Row="8" Content="lAccountSeg" />
        <my:VTextBox Height="Auto" HorizontalAlignment="Stretch" Name="fClientName" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" TextWrapping="Wrap" FontSize="11" Margin="5,10,0,0" />
        <my:VTextBox Height="Auto" HorizontalAlignment="Stretch" Name="fOrgName" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="1" Margin="5,5,0,0" />
        <my:VTextBox Height="Auto" HorizontalAlignment="Stretch" Name="fUserClient" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="2" Margin="5,5,0,0" />
        <my:VTextBox Height="Auto" HorizontalAlignment="Stretch" Margin="5,5,0,0" Name="fUserOrg" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="3" />
        <my:VComboBox Height="Auto" HorizontalAlignment="Stretch" Name="fCurrency" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="4" Margin="5,5,0,0" />
        <my:VComboBox Height="Auto" HorizontalAlignment="Stretch" Name="fCountry" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="5" Margin="5,5,0,0" />
        <my:VTextBox Height="Auto" HorizontalAlignment="Stretch" Name="fCity" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="6" Margin="5,5,0,0" />
        <my:VComboBox Height="Auto" HorizontalAlignment="Stretch" Name="fRegion" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="7" Margin="5,5,0,0" />
        <my:VButton Content="vButton1" Height="Auto" HorizontalAlignment="Stretch" Name="buttonLoadAcct" VerticalAlignment="Stretch" Width="Auto" Grid.Column="2" Grid.Row="10" Click="buttonLoadAcct_Click" Margin="5,5,0,0" MaxHeight="25" IsTabStop="True" Visibility="Collapsed"/>
        <!--<Grid Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="11" Height="Auto" HorizontalAlignment="Stretch" Margin="5,5,110,0" Name="gridProgress" VerticalAlignment="Stretch" Width="227">
            <ProgressBar Height="20" HorizontalAlignment="Stretch" Margin="14,6,14,24" Name="progressBar1" VerticalAlignment="Stretch" Width="191" />
            <my:VLabel Content="Processing...Please wait" Height="20" Margin="38,0,38,6" Name="lblProgressPercentage" VerticalAlignment="Bottom" Width="135" />
        </Grid>-->
        <my:VImage Grid.Column="2" Grid.Row="11" Height="35" HorizontalAlignment="Right" Margin="0,10,0,0" Name="btnOk" VerticalAlignment="Top" Width="35" Click="btnOk_Click_1">
            <Image Source="/VAdvantage;component/Images/right_up.png" ></Image>
        </my:VImage>
        <my:VImage  Height="35" HorizontalAlignment="Right" Margin="0,10,38,0" Name="btnCancel" VerticalAlignment="Top" Width="35" Grid.Column="2" Grid.Row="11" Click="btnCancel_Click">
            <Image Source="/VAdvantage;component/Images/cancel_up.png" Stretch="Fill" ></Image>
        </my:VImage>
    </Grid>

</frm:Form>
